home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000064_icon-group-sender _Tue Mar 5 08:45:59 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
1KB
Received: by cheltenham.cs.arizona.edu; Tue, 5 Mar 1996 12:30:39 MST
Date: Tue, 5 Mar 1996 08:45:59 -0800
From: kwalker@orville.premenos.com (Ken Walker)
Message-Id: <199603051645.IAA13391@varda.premenos.com>
To: icon-group@cs.arizona.edu
Subject: Re: Production of an operator's left-hand operand
Mime-Version: 1.0
Content-Type: multipart/mixed;boundary=19ee_282f-6c82_497f-5606_700c
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
--19ee_282f-6c82_497f-5606_700c
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: B/v5GdmdxStc1YwCt6/5hg==
X-Sun-Data-Type: text
> From: "Hamish Lawson" <H.Lawson@tees.ac.uk>
> Date: Mon, 4 Mar 1996 20:58:38 GMT0BST
>
> if I want to
> do something like printing the value of e1 only if e2 succeeds; that
> is, I cannot necessarily rewrite this as
>
> write(e2 & e1)
In the particular case of '&', you can replace it with mutual evaluation
and write
write(1(e1, e2))
However, there is nothing similar you can do with comparisons.
Ken Walker, kwalker@premenos.com
Premenos Coporation, Concord, Ca. 94520
--19ee_282f-6c82_497f-5606_700c--